package com.ruoyi.user.model;

import com.ruoyi.common.core.annotation.Excel;

/**
 * 系统字典对象 cms_dict
 *
 * @author houyong
 * @date 2025-11-08
 */
public class CmsDict {
    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Long id;

    /**
     * 字典类型（如yxpmlx、xmzydl）
     */
    @Excel(name = "字典类型", readConverterExp = "如=yxpmlx、xmzydl")
    private String dictType;

    /**
     * 字典编码
     */
    @Excel(name = "字典编码")
    private String code;

    /**
     * 字典文本（显示值）
     */
    @Excel(name = "字典文本", readConverterExp = "显=示值")
    private String text;

    /**
     * 字典值（实际存储值）
     */
    @Excel(name = "字典值", readConverterExp = "实=际存储值")
    private String value;

    /**
     * 排序号
     */
    @Excel(name = "排序号")
    private Long sort;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDictType(String dictType) {
        this.dictType = dictType;
    }

    public String getDictType() {
        return dictType;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getText() {
        return text;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

}
